<extend name="Public:base" />
<block name="body">
	<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 main-body">
		<ul>
		
			<li class="m_p" style="float:left;"><span class="glyphicon glyphicon-th"></span>自定义回复管理</li>
		</ul>
	</div>
	<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 container-fluid public_list">
		<div class="text-danger bg-danger col-xs-12 col-sm-12 col-md-12 col-lg-12 container-fluid public_list info">
			您可以在此设置关键字，微信将对应回复内容。请注意不要让关键字与文本菜单key相同，避免失效。
		</div>
		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 public_list_menu">
			<ul>
				<li>
					<a href="__MODULE__/MemberPublic/custom_add" class="btn btn-primary">
						新增
					</a>
				</li>
				<li>
					<a href="" onclick="delete_membercustom()" class="btn btn-primary">
						删除
					</a>
				</li>
			</ul>
		</div>
		<div class="table-responsive">
			<form>
				<table class="table-bordered table table-hover">
					<tr>
					    <td>
						<input type="checkbox" name="checkbox[]" class="check-all regular-checkbox" onclick="selects()">
						</td>
						<td>序号</td>
						<td>key</td>
						<td>回复内容类型</td>
						<td>操作</td>
					</tr>
					<volist name="custom_list" id="custom_list" key="k">
					<tr>
					<td>
						<input type="checkbox" name="checkbox[]" value="{$custom_list.public_id}" class="check-all regular-checkbox">
						</td>
						<td>{$k}</td>
						<td>{$custom_list.key1}</td>
						<td>{$custom_list.msgtype}</td>
						<td>
						<a href="__MODULE__/MemberPublic/delete_custom_res?id={$custom_list.id}">删除 </a>&nbsp;&nbsp;
						</td>
					</tr>
					</volist>
				</table>
			</form>
		</div>
	</div>
</block>